#ifndef __DIALOG_HACK__H__
#define __DIALOG_HACK__H__

//#include <apps.h>
//#include <mem.h>
//#include <events.h>
#include <uis.h>

#define DIALOG_VTABLE_SIZE (0x120)
#define DIALOG_VTABLE_NUM (DIALOG_VTABLE_SIZE >> 2)
#define DIALOG_VTABLE_SPECIALKEYMAPPING_INDEX (0x94 >> 2)

#define DIALOG_FIELDS_SIZE (0x38C-4)


//typedef void * __VTABLE__6Dialog[DIALOG_VTABLE_SIZE];

//typedef void DialogClass_VTABLE[DIALOG_VTABLE_SIZE];
typedef struct _DialogClassMap
{
	void ** vtable;
	UINT32 fields[DIALOG_FIELDS_SIZE];
} DialogClassMap, *DialogClassMapPtr;

extern char theStatusManager;

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */


void * uis_get_dialog_ptr( UIS_DIALOG_T handle );

void setCanvasControl__13StatusManagerFScPUs( void *, BOOL, void* );

#ifdef __cplusplus
}
#endif /* __cplusplus */


#endif /* __DIALOG_HACK__H__ */
